#!/usr/bin/env python
# -*- coding: utf-8 -*-

import rospy
from ros1_protobuf_msg_bridge.msg import Header
from ros1_protobuf_msg_bridge.msg import Header_pb2

def callback(data):
    rospy.loginfo("I heard: %s", data.pb.frame_id)


def listener():
    rospy.init_node('py_listener', anonymous=False)
    
    rospy.Subscriber("t_pub1", Header, callback,None,10)
    
    rospy.spin()

if __name__ == '__main__':
    listener()
